﻿cmake_minimum_required(VERSION 3.8)

aux_source_directory("${CMAKE_SOURCE_DIR}/src/other" SRC_LIST_OTHER)
aux_source_directory("${CMAKE_SOURCE_DIR}/src" SRC_LIST)

include_directories("${CMAKE_SOURCE_DIR}/src")

# 执行文件的安装位置
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin")

add_executable(${PROJECT_NAME} ${SRC_LIST} ${SRC_LIST_OTHER})

# 取消注释以下代码以链接库
# find_library(FUNC_LIB func ${PROJECT_SOURCE_DIR}/lib)
# target_link_libraries(${PROJECT_NAME} ${FUNC_LIB})


